<template>
    <div class="block">
        <el-carousel height="230px">
            <el-carousel-item v-for="item in 4" :key="item">
                <img :src="imgsrc[item-1]" alt="">
            </el-carousel-item>
        </el-carousel>
    </div>
</template>

<script>
export default {
    name:'show',
    data(){
        return{
            imgsrc:[require('../assets/lun1.png'),require('../assets/lun2.png'),require('../assets/lun3.png'),require('../assets/lun4.png')]
        }
    }
}
</script>

<style scoped>
/* 轮播图ui */
  .el-carousel__item h3 {
    color: #475669;
    font-size: 14px;
    opacity: 0.75;
    line-height: 150px;
    margin: 0;
  }

  .el-carousel__item:nth-child(2n) {
     background-color: #99a9bf;
  }
img {
    width: 400px;
    height: 230px;
}

</style>